package com.example.springbootdemo.scene.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;

/**
 *@author xuwangqi
 *@date 2021/5/24 15:58
 **/
/**
    * 游览路线表
    */
@ApiModel(value="com-example-springbootdemo-scene-entity-TouringRoute")
@Data
@TableName(value = "touring_route")
public class TouringRoute {
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="")
    private Integer id;

    /**
     * 景区id
     */
    @TableField(value = "scene_id")
    @ApiModelProperty(value="景区id")
    private String sceneId;

    /**
     * 游览路线名称
     */
    @TableField(value = "name")
    @ApiModelProperty(value="游览路线名称")
    private String name;

    /**
     * 游览路线包含的各景点的名称
     */
    @TableField(value = "scene_spot_list")
    @ApiModelProperty(value="游览路线包含的各景点的名称")
    private String sceneSpotList;

    /**
     * 路线坐标
     */
    @TableField(value = "poi")
    @ApiModelProperty(value="路线坐标")
    private Object poi;

    /**
     * 入口
     */
    @TableField(value = "entrance")
    @ApiModelProperty(value="入口")
    private String entrance;

    /**
     * 步速“健步、中速、缓步"和分别对应的时长
     */
    @TableField(value = "total_time")
    @ApiModelProperty(value="步速“健步、中速、缓步'和分别对应的时长")
    private String totalTime;

    /**
     * 各个景点间一个景点到下一个景点所需时长
     */
    @TableField(value = "specific_time")
    @ApiModelProperty(value="各个景点间一个景点到下一个景点所需时长")
    private String specificTime;

    /**
     * 游览路线类型，1-遍历游、2-深度游、3-特色游、4-休闲游
     */
    @TableField(value = "type")
    @ApiModelProperty(value="游览路线类型，1-遍历游、2-深度游、3-特色游、4-休闲游")
    private Byte type;

    /**
     * 状态，1正常，0不正常
     */
    @TableField(value = "status")
    @ApiModelProperty(value="状态，1正常，0不正常")
    private Byte status;

    @TableField(value = "gmt_create")
    @ApiModelProperty(value="")
    private Date gmtCreate;

    @TableField(value = "gmt_modified")
    @ApiModelProperty(value="")
    private Date gmtModified;

    public static final String COL_ID = "id";

    public static final String COL_SCENE_ID = "scene_id";

    public static final String COL_NAME = "name";

    public static final String COL_SCENE_SPOT_LIST = "scene_spot_list";

    public static final String COL_POI = "poi";

    public static final String COL_ENTRANCE = "entrance";

    public static final String COL_TOTAL_TIME = "total_time";

    public static final String COL_SPECIFIC_TIME = "specific_time";

    public static final String COL_TYPE = "type";

    public static final String COL_STATUS = "status";

    public static final String COL_GMT_CREATE = "gmt_create";

    public static final String COL_GMT_MODIFIED = "gmt_modified";
}